<%-- 
    Document   : fixtures
    Created on : Mar 1, 2011, 11:07:18 AM
    Author     : M Bilal
--%>
<%@ page import="wap.rockvilletech.portal.DBProc" %>
<%@ page import="org.apache.log4j.Logger" %>
<%@ include file="../includes/header.jspf"%>

<%
thisPage = "MATCH-HIGHLIGHTS";            
final Logger log = Logger.getLogger(thisPage);
app="WorldCup2011";
Vector<String[]> events = DBProc.getInstance().getMatchHighlights();
String matchName="";
try{
	matchName = ((String[])events.get(0))[3];
	matchName += " vs ";
	matchName += ((String[])events.get(0))[4];
}catch(Exception e){
	matchName="";
}
%>
<div style="padding: 0px 0px 0px 0px;">
     <div align="center" style=" background-color: #dedfe1;padding-top:2px;background-image:url('images/new/.jpg');background-repeat: repeat-x;background-position:0% 350%;">
        <a href="<%=context_Path%>"><img src='<%=context_Path%>/imgsrv?img=home<%=sImgFix%>.jpg&repo=PI&s=0&w=<%=mainButtonImgWidth%>' alt="home" title="Home"></a>
        <a href="<%=context_Path%>/content/index.jsp?app=Bollywood"><img src='<%=context_Path%>/imgsrv?img=downloads<%=sImgFix%>.jpg&repo=PI&s=0&w=<%=mainButtonImgWidth%>' alt="downloads" title="Downloads"></a>
        <a href="<%=context_Path%>/coolstuff/index.jsp"><img src='<%=context_Path%>/imgsrv?img=cool_stuff<%=sImgFix%>.jpg&repo=PI&s=0&w=<%=mainButtonImgWidth%>' alt="coolstuff" title="Cool Stuff"></a>
        <a href="<%=context_Path%>/news/news.jsp"><img src='<%=context_Path%>/imgsrv?img=news<%=sImgFix%>.jpg&repo=PI&s=0&w=<%=mainButtonImgWidth%>' alt="news" title="News"></a>
    </div>
    <div class="div_navigation" id="div_navigation">
        <a href="/ufone/index.jsp?page=index.jsp&amp;ref=navLinks" class="LinkIndex">Home</a>&nbsp;&gt;
        <a href="<%=context_Path%>/cricket" class="LinkIndex">Cricket</a>&nbsp;&gt;
        <span class="navigation_Leaf">Match Highlights</span>
    </div>

    <div>
        <table width="100%" align="left" cellpadding="0" cellspacing="0" style="text-align: left;font-weight: bold;">
            <tr>
                <td style="background-image:url('../images/new/top_bar_02.jpg');background-repeat: repeat-x;height:26px;">
                    <b style="padding:0px 0px 0px 3px;"><%=matchName%></b>
                </td>
            </tr>
        </table>
    </div>
    <div style="clear:both;height:1px;">&nbsp;</div>
    <div style="padding:3px;" align="left">
        <%
        if(!"".equals(matchName)) {
			for(Object obj : events) {
				try {
					String[] arr_all_events = (String[])obj;
					if(arr_all_events.length > 0) {
						out.println("<div style=\"padding:0px;\">");
						out.println("<b>"+arr_all_events[0].replaceAll("_", " ")+":</b>");
						out.println("<b> "+arr_all_events[1].replaceAll("_", " ")+": </b>");
						out.println(arr_all_events[2]+"</div>");
						out.println("<div class=\"clearFloat blueUnderline\"></div>");
					}
				}catch(Exception e){
				}
			}
        }
        else {
        	out.println("Match highlights not available!");
        }
        %>
    </div>
</div>
<%@ include file="../includes/footer.jspf"%>

<%
wpb.LogVisit(strIP, thisPage, strGsm,strApn,strBrand,strModel, app,request.getQueryString());
%>